<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style>
	.td{
		text-align: right;
	}
</style>
</head>
<body>
	<form action = "CustomerSubmited">
		<table border="2px" cellspacing="0" style="list-style:none; text-align: right;;width:700px;margin: auto;border: 1px #FF0000 solid;border-radius: 4px;">
			<tr>
				<td colspan="3" align="center">请填写用户信息(带*为必填项)</td>
			</tr>
			<tr>
				<td class="td">用户名：</td>
				<td><input name="account" type="text" value="${customer.account }"></td>
				<td>*你用来登录的用户名</td>
			</tr>
			<tr>
				<td class="td">密码：</td>
				<td><input name="password" type="text" value="${customer.password }"></td>
				<td>*长度必须大于5小于16个字符，只能为英语字、数字</td>
			</tr>
			<tr>
				<td class="td">确认密码：</td>
				<td><input name="confirmPassword" type="text" value="${customer.password }"></td>
				<td>*请将输入的密码再次输入</td>
			</tr>
			<tr>
				<td class="td">真实姓名：</td>
				<td><input name="name" type="text" value="${customer.name }"></td>
				<td>*请输入你的真实姓名</td>
			</tr>
			<tr>
				<td class="td">性别：</td>
				<td  style="text-align: left;" value="${customer.gender }">男：<input type="radio" name="gender" value="男" />女：<input type="radio" name="gender" value="女" /></td>
				<td>*请填写你的真实信息</td>
			</tr>
			<tr>
				<td class="td"  >生日：</td>
				<td style="text-align: left"><input name="birthday" type="date" value="${customer.birthday }"></td>
				<td>*请填写你的真实年龄</td>
			</tr>
			<tr>
				<td class="td">身份证号：</td>
				<td><input name="idcard" type="number" min="0"maxlength="18" value="${customer.idcard }"></td>
				<td>*请填写你的真实信息</td>
			</tr>
			<tr>
				<td class="td">家庭住址：</td>
				<td><input name="address" type="text" value="${customer.address }"></td>
				<td>*请填写你的真实信息</td>
			</tr>
			<tr>
				<td class="td">电话号码：</td> 
				<td><input name="telephone" type="tel" min="0"maxlength="11" value="${customer.telephone }"></td>
				<td>*请填写你的真实信息(格式为02487654321或1398765432)</td>
			</tr>
			<tr>
				<td class="td">电子邮箱：</td>
				<td><input name="email" type="email" value="${customer.email }"></td>
				<td>*请填写你有效的邮件地址，以便我们为你提供有效的服务</td>
			</tr>
			<tr>
			    <td class="td">邮政编码：</td>
				<td><input name="code" type="number" min="0" maxlength="6" value="${customer.code }"></td>
				<td>*请填写你的真实信息(格式为000000)</td>
			</tr>
			<tr>
				<td colspan="3" style="text-align: center;">
					<button type="submit">提交</button>
					<button type="reset" value="重置">重置</button>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>